﻿#ifndef CMDLINECHARTWINDOWADDTRACER_H
#define CMDLINECHARTWINDOWADDTRACER_H

#include "CommandManager/CommandBase.h"

namespace PostCommand
{
    /// @brief 后处理保存图像命令
    class CmdLineChartWindowAddTracer : public CommandManager::CommandBase
    {
        Q_OBJECT

        public:
            CmdLineChartWindowAddTracer();
            ~CmdLineChartWindowAddTracer();

            bool execute() override;
            void undo() override;
            void redo() override;
            void setData(int windowUniversalID, QString parameters);

        private:
            int m_windowUniversalID{};
            QString m_parameters{};
    };

} // namespace PostCommand

#endif
